from PySide2.QtCore import Signal,QObject

class SI:
    projectPath = None
    logInfo = None
    listenPort = 18444

# 自定义信号源对象类型，一定要继承自 QObject
class MySignals(QObject):

    # 定义一种信号，
    stats_recved = Signal(str)

mySignals =   MySignals()